package com.my.security.model;

import lombok.Data;

import java.util.Set;

/**
 * @author lbb
 * @fileName User
 * @description
 * @date 2020/5/12 12:13
 */
@Data
public class User {
    public static final String SECURITY_SESSION_USER_KEY="SECURITY_USER";
    private String id;
    private String username;
    private String password;
    private String nickname;
    /**
     * 权限
     */
    private Set<String> authorities;
}
